package com.newcoin.chat.beans.entity;


import com.newcoin.chat.beans.vo.UserVo;

public class GroupApplicationEntity {
    private Long id;
    private Long groupId;
    private String groupName;
    private Long fromUser;
    private Long toUser;
    private Integer state;
    private String createDate;
    private UserVo userVo;

    private String groupHeadImgPath;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public Long getFromUser() {
        return fromUser;
    }

    public void setFromUser(Long fromUser) {
        this.fromUser = fromUser;
    }

    public Long getToUser() {
        return toUser;
    }

    public void setToUser(Long toUser) {
        this.toUser = toUser;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getGroupName() {
        return groupName;
    }

    public UserVo getUserVo() {
        return userVo;
    }

    public void setUserVo(UserVo userVo) {
        this.userVo = userVo;
    }

    public String getGroupHeadImgPath() {
        return groupHeadImgPath;
    }

    public void setGroupHeadImgPath(String groupHeadImgPath) {
        this.groupHeadImgPath = groupHeadImgPath;
    }

    @Override
    public String toString() {
        return "GroupApplicationEntity{" +
                "id=" + id +
                ", groupId=" + groupId +
                ", groupName='" + groupName + '\'' +
                ", fromUser=" + fromUser +
                ", toUser=" + toUser +
                ", state=" + state +
                ", createDate='" + createDate + '\'' +
                ", userVo=" + userVo +
                ", groupHeadImgPath='" + groupHeadImgPath + '\'' +
                '}';
    }
}
